package com.qzd.Factory.abstractFactorypattern;

public class PythonCouresFactory extends CouresFactory {

    public INote createNote() {
        try {
            super.init(PythonCouse.class);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return new PythonNote();
    }

    public IVideo createVideo() {
        try {
            super.init(PythonCouse.class);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return new PythonVideo();
    }
}
